package com.nmf.pc.service;

import com.nmf.site.biz.pay.ali.sign.MD5Util;

public class MD5PawService {
	private static String md5pre = "FIIOPIUUYYYJHGUY";
	
	public static String getMd5Psw(String mdstr) {
		if(mdstr==null) {
			return null;
		}
		return MD5Util.MD5(mdstr+md5pre);
	}
	
	public static boolean isMd5Psw(String mdstr,String verfiPsw) {
		String neMd5str = MD5Util.MD5(mdstr+md5pre);
		return neMd5str.equals(verfiPsw);
	}
}
